class Person {
    String email
    String firstName
    String lastName

    static belongsTo = Clique
    static hasMany = [cliques: Clique]
    static constraints = {
        firstName(nullable: false)
        lastName(nullable: false)
        email(email: true)
    }

    public String toString() {
        return "$id:$email"
    }
}
